wpforo\modules\reactions\Reactions D

Total Complexity 145
Dependencies 3
Dependents 4
Total lines 664
Lines of code 466
Logical lines of code 293
Comment lines 93
Methods 42
Properties 3

Methods 42

Method Rating Maintainability Complexity Lines of code
filter_reactions()
B
42 21 57
build_sql_wheres()
A
53 13 17
decode_item()
A
58 10 13
delete()
S
56 7 14
get_post_reactions_count_grouped_by_type()
S
57 6 16
build_sql_select()
S
59 6 11
_get_reaction()
S
60 6 11
get_post_reactions_count_grouped_by_type_sql()
S
56 5 18
is_reaction_type()
S
65 6 8
get_icon()
S
55 4 21
edit()
S
58 4 15
get_post_reactions_and_cache()
S
62 4 11
get_types()
S
47 2 39
create_reaction_cache()
S
69 4 6
get_post_reactions_cache()
S
67 4 7
init_defaults()
S
48 1 40
get_post_reactions_user_dnames()
S
54 2 23
get_user_reaction()
S
66 3 8
delete_for_all_active_boards()
S
67 3 8
edit_for_all_active_boards()
S
67 3 8
add()
S
59 2 15
decode()
S
60 2 12
get_likes_for_topic()
S
65 2 9
is_reacted()
S
68 2 6
_get_reactions_col()
S
70 2 5
_get_count()
S
71 2 5
get_sum()
S
73 2 4
is_reaction_type_exists()
S
76 2 3
get_post_reactions_count()
S
70 2 5
parse_args()
S
61 1 12
get_user_reaction_reaction()
S
75 1 4
__construct()
S
78 1 4
get_received_reactions_count()
S
78 1 3
get_reacted_count()
S
78 1 3
get_count()
S
78 1 3
get_reactions_col()
S
77 1 3
get_reactions()
S
78 1 3
init_classes()
S
76 1 4
get_reaction()
S
78 1 3
encode()
S
80 1 3
get_type_list()
S
79 1 3
_get_reactions()
S
76 1 3